package sprinklerbee.model;

import java.util.*;

public class Sprinkler {

	private int id;
	private String name;
	private String description;
	private Date createtime;
	private String status;
	private Group group;
	private SprinklerType sprinklerType;
	private Sensor sensor;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Group getGroup() {
		return group;
	}

	public void setGroup(Group group) {
		this.group = group;
	}

	public SprinklerType getSprinklerType() {
		return sprinklerType;
	}

	public void setSprinklerType(SprinklerType sprinklerType) {
		this.sprinklerType = sprinklerType;
	}

	public Sensor getSensor() {
		return sensor;
	}

	public void setSensor(Sensor sensor) {
		this.sensor = sensor;
	}

	public Sprinkler() {
		super();
	}

	public Sprinkler(String name) {
		super();
		this.name = name;
	}

	public Sprinkler(int id) {
		super();
		this.id = id;
	}
	
}